package com.lfnyxy.dao.org;



import com.lfnyxy.entity.org.MenuEntity;
import com.lfnyxy.query.org.MenuQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface MenuDao {
    int CreateItem(MenuEntity entity);

    int UpdateItem(MenuEntity entity);

    List<MenuEntity> QueryPageList(MenuQuery query);

    List<MenuEntity> QueryAll();

    int QueryPageListCount(MenuQuery query);

    int CheckIsExist(MenuEntity entity);

    MenuEntity QueryItem(int Id);

    int DeleteItem(int Id);
}